package com.rms.hkpc.db.bean;

import java.util.ArrayList;
import java.util.List;

public class DrawLineBean {
    private List<Line> mLines = new ArrayList<>();

    public List<Line> getLines() {
        return mLines;
    }

    public void setLines(List<Line> mLines) {
        this.mLines = mLines;
    }

    public void addLine(Line line){
        mLines.add(line);
    }

    public static class Line{
        private float startX;
        private float startY;
        private float endX;
        private float endY;

        public Line(float startX, float startY, float endX, float endY) {
            this.startX = startX;
            this.startY = startY;
            this.endX = endX;
            this.endY = endY;
        }

        public float getStartX() {
            return startX;
        }

        public void setStartX(float startX) {
            this.startX = startX;
        }

        public float getStartY() {
            return startY;
        }

        public void setStartY(float startY) {
            this.startY = startY;
        }

        public float getEndX() {
            return endX;
        }

        public void setEndX(float endX) {
            this.endX = endX;
        }

        public float getEndY() {
            return endY;
        }

        public void setEndY(float endY) {
            this.endY = endY;
        }
    }
}
